package com.admin.logging.enums;

/**
 * 日志类型
 *
 * @author sq-lan
 */
public enum LogTypeEnum {

    /**
     *
     */
    ERROR(9, "ERROR"),

    /**
     *
     */
    WARNING(6, "WARNING"),

    /**
     *
     */
    INFO(3, "INFO"),
    ;
    private Integer value;
    private String code;

    public Integer getValue() {
        return value;
    }

    public String getCode() {
        return code;
    }

    LogTypeEnum(Integer value, String code) {
        this.value = value;
        this.code = code;
    }
}
